package com.example.demo.model.mnt;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_erupt.Power;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.EditType;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.annotation.sub_field.ViewType;
import xyz.erupt.annotation.sub_field.sub_edit.*;
import xyz.erupt.jpa.model.BaseModel;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

@Erupt(name = "sys_role")
@Entity
@Table(name = "sys_role")
public class YsRole extends BaseModel {

  @EruptField(
          views = @View(
                  title = "null", sortable = true
          ),
          edit = @Edit(
                  title = "null",
                  type = EditType.INPUT, search = @Search, notNull = true,
                  inputType = @InputType
          )
  )
  private java.util.Date createTime;
  @EruptField(
          views = @View(
                  title = "null", sortable = true
          ),
          edit = @Edit(
                  title = "null",
                  type = EditType.INPUT, search = @Search, notNull = true,
                  inputType = @InputType
          )
  )
  private java.util.Date updateTime;
  @EruptField(
          views = @View(
                  title = "null", sortable = true
          ),
          edit = @Edit(
                  title = "null",
                  type = EditType.INPUT, search = @Search, notNull = true,
                  inputType = @InputType
          )
  )
  private Long id;
  @EruptField(
          views = @View(
                  title = "null", sortable = true
          ),
          edit = @Edit(
                  title = "null",
                  type = EditType.INPUT, search = @Search, notNull = true,
                  inputType = @InputType
          )
  )
  private String userId;
  @EruptField(
          views = @View(
                  title = "null", sortable = true
          ),
          edit = @Edit(
                  title = "null",
                  type = EditType.INPUT, search = @Search, notNull = true,
                  inputType = @InputType
          )
  )
  private String name;
  @EruptField(
          views = @View(
                  title = "null", sortable = true
          ),
          edit = @Edit(
                  title = "null",
                  type = EditType.INPUT, search = @Search, notNull = true,
                  inputType = @InputType
          )
  )
  private String label;
  @EruptField(
          views = @View(
                  title = "null", sortable = true
          ),
          edit = @Edit(
                  title = "null",
                  type = EditType.INPUT, search = @Search, notNull = true,
                  inputType = @InputType
          )
  )
  private String remark;


  public java.util.Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.util.Date createTime) {
    this.createTime = createTime;
  }


  public java.util.Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.util.Date updateTime) {
    this.updateTime = updateTime;
  }


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getLabel() {
    return label;
  }

  public void setLabel(String label) {
    this.label = label;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

}
